<?php if ($sf_user->isAuthenticated() and $sf_user->hasCredential('admin')): ?>
  <ul class="frontend-actions">
    <li><?php echo link_to(image_tag('/sf/sf_admin/images/delete_icon.png', array('alt' => __('Delete'), 'title' => __('Delete'))), '@admin?module='.$module.'&action=delete&id='.$id); ?>
    <li><?php echo link_to(image_tag('/sf/sf_admin/images/edit_icon.png', array('alt' => __('Edit'), 'title' => __('Edit'))), '@admin?module='.$module.'&action=edit&id='.$id); ?>
    <li><?php echo link_to(image_tag('/sf/sf_admin/images/list.png', array('alt' => __('List'), 'title' => __('List'))), '@admin?module='.$module.'&action=list'); ?>
  </ul>
<?php endif; ?>